public class TicketMaker {

    private static TicketMaker ticketMaker=new TicketMaker();

    private int num;
    public static TicketMaker getInstance() {
        return ticketMaker;
    }

    private TicketMaker(){

    }
    public int getNum(){
        return num;
    }
}
